<link type="text/css" href="https://cdn.bootcdn.net/ajax/libs/weui/0.4.3/style/weui.min.css" rel="stylesheet">
<link type="text/css" href="https://cdn.bootcdn.net/ajax/libs/jquery-weui/1.2.1/css/jquery-weui.min.css" rel="stylesheet">
<script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/jquery-weui/0.8.3/js/jquery-weui.min.js"></script>



<!-- 组件文档 "http://old.jqweui.com/components#buttons"-->
<a href="javascript:;" class="weui_btn weui_btn_primary">按钮</a>
<a href="javascript:;" class="weui_btn weui_btn_disabled weui_btn_primary">按钮</a>
<a href="javascript:;" class="weui_btn weui_btn_warn">确认</a>
<a href="javascript:;" class="weui_btn weui_btn_disabled weui_btn_warn">确认</a>
<a href="javascript:;" class="weui_btn weui_btn_default">按钮</a>
<a href="javascript:;" class="weui_btn weui_btn_disabled weui_btn_default">按钮</a>
<div class="button_sp_area">
	<a href="javascript:;" class="weui_btn weui_btn_plain_default">按钮</a>
	<a href="javascript:;" class="weui_btn weui_btn_plain_primary">按钮</a>

	<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_primary">按钮</a>
	<a href="javascript:;" class="weui_btn weui_btn_mini weui_btn_default">按钮</a>
</div>

<script type="text/javascript">
	//按钮点击事件
	$('.weui_btn').click(function(){
		console.log($(this).index())
	});
</script>